package demo.json;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * description: <br>
 * createTime: 2021/5/11 16:03 <br>
 *
 * @author zzh
 */
@JsonRootName("person")
@Data
@AllArgsConstructor
public class Person {
    @JsonProperty("nickName")
    String name;
    int age;
}
